import request from '@/utils/request'

// 生成表单编号
export function getFormSequence(query) {
  return request({
    url: '/sequence/autoGenerateId',
    method: 'get',
    params: query
  })
}

/**
 * 主数据编码获取主数据名称
 * @param {*} query 
 * @returns 
 */
export function getFormCusMainDataByMainCode(query) {
  return request({
    url: '/operation/getCusMaterData',
    method: 'get',
    params: query
  })
}
